package com.ctshk.rpc.booking.req.system.admission.edit;

import com.ctshk.rpc.booking.req.system.air.edit.SupplierSystemOrderAirTicketEditReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 系统门票票订单
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-03-09
 */
@Data


@ApiModel(value="SupplierSystemOrderAdmissionReq对象", description="系统门票票订单")
public class SupplierSystemOrderAdmissionEditReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "所属订单ID")
    private Long orderId;

    @ApiModelProperty(value = "客人备注")
    private String customerRemark;

    @ApiModelProperty(value = "供应商备注")
    private String supplierRemark;

    @Valid
    @NotEmpty(message = "景点门票列表不能为空")
    @ApiModelProperty(value = "景点门票列表")
    private List<SupplierSystemOrderAdmissionTicketDetailEditReq> supplierSystemOrderAdmissionTicketDetailEditReqList;
}
